package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.po.ConfirmOrder;
import com.jiawa.train.business.dto.ConfirmOrderMQDto;
import com.jiawa.train.business.req.ConfirmOrderDoReq;
import com.jiawa.train.business.req.ConfirmOrderQueryReq;
import com.jiawa.train.business.resp.ConfirmOrderQueryResp;
import com.jiawa.train.common.resp.PageResp;

/**
 * <p>
 * 确认订单 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-08
 */
public interface IConfirmOrderService extends IService<ConfirmOrder> {

    void save(ConfirmOrderDoReq req);

    PageResp<ConfirmOrderQueryResp> queryList(ConfirmOrderQueryReq req);

    default void delete(Long id) {

    }

    void doConfirm(ConfirmOrderMQDto req);

    Integer queryLineCount(Long id);
}
